package cn.gan.loveofsoul.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ganwh
 * @since 2023-10-26
 */
@Getter
@Setter
@ToString
@TableName("food_classification")
public class FoodClassification implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜品类别id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 所属餐厅
     */
    private Integer canteenId;

    /**
     * 类别名称
     */
    private String classificationName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建用户ID
     */
    private Integer createUserId;
}
